<extend name="Common/panel-block"/>
<block name="body">
    <form action="{:U()}" method="post" class="layui-form layui-clear" ajaxSubmit>
        <volist name="modelInfo['model_field']" id="vo">
            <if condition="$vo['is_show']">
                <icy8:formItem label="$vo['title']" help="$vo['remark']">
                    {~W('Common/Form/'.$vo['form'], array_merge(['name'=>$vo['name'],'value'=>$info[$vo['name']]],$vo['form_param']))}
                </icy8:formItem>
            </if>
        </volist>
        <icy8:formItem label="">
            <input type="hidden" name="id" value="{$info.id}"/>
            <input type="hidden" name="model_id" value="{$model_id}"/>
            <icy8:button title="保存"/>
            <icy8:button title="返回" click="window.history.go(-1);" btnType="primary" type="button"/>
        </icy8:formItem>
    </form>
</block>